package indi.jp.project.process.entity;

/**
 * 流程类型
 *
 * @author jiangping
 * @date 2022/5/5
 */
public enum FlowTypeEnum {

    PROJECT("立项申请", "PROJECT", "t_yunying_project", "projectInitiateService"),

    CONTRACT("合同申请", "CONTRACT", "t_yunying_contract", ""),

    FAPIAO("发票申请", "FAPIAO", "t_yunying_fapiao", ""),

    MATERIAL_WORK("办公耗材申请", "MATERIAL_WORK", "t_yunying_material", ""),

    MATERIAL_PROD("生产耗材申请", "MATERIAL_PROD", "t_yunying_material", ""),

    DEVICE_PURCHASE("仪器采购申请", "DEVICE_PURCHASE", "t_yunying_device_purchase", "devicePurchaseService"),

    DEVICE_DISPATCH("仪器调度申请", "DEVICE_DISPATCH", "t_yunying_device_dispatch", "deviceDispatchService"),

    DEVICE_MAINTAIN("仪器维修申请", "DEVICE_MAINTAIN", "t_yunying_device_maintain", "deviceMaintainService"),

    DEVICE_DISCARD("仪器作废申请", "DEVICE_DISCARD", "t_yunying_device_discard", "deviceDiscardService"),

    BID_MAIN("项目投标申请", "BID_MAIN", "t_jingying_bids", "bidsService"),

    BID_TECH("项目投标申请-技术标", "BID_TECH", "t_jingying_bids_sub", "bidsService"),

    BID_BUS("项目投标申请-商务标", "BID_BUS", "t_jingying_bids_sub", "bidsService"),

    SUPPLIES("经营用品维护申请", "SUPPLIES", "t_jingying_supplies", "");

    private String flowName;

    private String flowType;

    private String tableName;

    private String serviceName;

    FlowTypeEnum(String flowName, String flowType, String tableName, String serviceName) {
        this.flowName = flowName;
        this.flowType = flowType;
        this.tableName = tableName;
        this.serviceName = serviceName;
    }

    public String getFlowType() {
        return flowType;
    }

    public void setFlowType(String flowType) {
        this.flowType = flowType;
    }

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public String getFlowName() {
        return flowName;
    }

    public void setFlowName(String flowName) {
        this.flowName = flowName;
    }

    public String getServiceName() {
        return serviceName;
    }

    public void setServiceName(String serviceName) {
        this.serviceName = serviceName;
    }
}
